home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 66
/
Vol 66.iso
/
games
/
doodle_d.swf
/
scripts
/
DefineButton2_165
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2013-04-24
|
498b
|
24 lines
on(release){
if(_root.points >= _root.drawPrice2)
{
_root.points -= _root.drawPrice2;
if(_root.purchased != 4)
{
_root.purchased = _root.purchased + 1;
}
if(_root.purchased == 1)
{
_root.rightLaser = true;
}
if(_root.purchased == 2)
{
_root.leftLaser = true;
}
if(_root.purchased == 3)
{
_root.backLaser = true;
}
_root.gotoAndStop("draw2");
}
}